package com.example.javanewwork.service;

import com.example.javanewwork.entity.User;

public interface UserService {

    //根据用户名查询用户
    User findByUserName(String username);

    //注册
    void register(String username, String password,String Email,String phone,Integer UserType);
}
